package com.user.dao;

import com.user.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserDao extends JpaRepository<User,Long> {
    User findByEmail(String email);

    User findByEmailAndPassword(String email, String password);
}
